package com.chenya.modual.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <h1> </h1>
 *
 * @author 90后野生程序猿
 * @version V1.0.0
 * @email LevelCoder@126.com
 * @date 2021/7/6 10:10 PM
 */
@RestController
@RequestMapping(value = "/test")
public class UserController {



    @GetMapping(value = "/hello")
    public String login(){
        return "hello world";
    }

    @GetMapping(value = "/index")
    public String index(){
        return "hello index";
    }
}
